package ch.zbw.sysventory.server.service.security;

import java.util.List;

import ch.zbw.sysventory.server.model.User;

public interface UserService {

	public void save(User user) throws Exception;

	public void delete(Long id);

	public User get(Long id);

	public User update(User user) throws Exception;

	public List<User> list();

	public User getByLoginName(String loginName);

	public void changePassword(Long userId, String newPassword) throws Exception;

	public User getNewUser();

}
